package io.renren.com.qywt.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.renren.com.qywt.dto.AftersaleMultiNumDTO;
import io.renren.com.qywt.excel.converter.YesNoConverter;
import lombok.Data;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 仓库退货表
 *
 * @author jiaohj 15110414840@139.com
 * @since 3.0 2022-09-22
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class AftersaleReturnGoodExcel {
    @ExcelProperty(value = "仓库收货时间", index = 0)
    private Date receiptTime;
    @ExcelProperty(value = "快递单号", index = 1)
    private String deliveryNo;
    @ExcelProperty(value = "客户名称", index = 2)
    private String customerName;
    @ExcelProperty(value = "店铺名称", index = 3)
    private String storeName;
    @ExcelProperty(value = "原平台单号", index = 4)
    private String platformNo;
    @ExcelProperty(value = "商品条码", index = 5)
    private String prodSku;
    @ExcelProperty(value = "商品名称", index = 6)
    private String prodName;
    @ExcelProperty(value = "退回商品数量", index = 7)
    private Long prodNum;
    @ExcelProperty(value = "退回商品生产日期", index = 8)
    @DateTimeFormat("yyyy-MM-dd")
    private Date produceTime;
    @ExcelProperty(value = "外包装是否破损",converter = YesNoConverter.class, index = 9)
    private Integer damageFlag;
    @ExcelProperty(value = "商品是否影响二次销售",converter = YesNoConverter.class, index = 10)
    private Integer sellFlag;
    @ExcelProperty(value = "退件仓库是否已上架",converter = YesNoConverter.class, index = 11)
    private Integer shelvesFlag;
    @ExcelProperty(value = "影响二次销售退回客户快递单号", index = 12)
    private String affectedDeliveryNo;
    @ExcelProperty(value = "备注", index = 13)
    private String remark;
    @ExcelProperty(value = "重新退回顾客发货时间", index = 14)
    private Date deliverTime;
    @ExcelProperty(value = "涉及金额", index = 15)
    private BigDecimal payFee;
    @ExcelProperty(value = "反馈圆通客服时间", index = 16)
    private Date feedbackTime;
    @ExcelProperty(value = "圆通客服回复情况", index = 17)
    private String reply;
    @ExcelProperty(value = "理赔结果", index = 18)
    private String claimResult;
    @ExcelProperty(value = "其他说明", index = 19)
    private String otherExplain;
    @ExcelProperty(value = "最后活动时间", index = 20)
    private Date lastActivity;
}